package com.example.demo.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.example.demo.dao.mapper.ActivityMapper;

/**
 * @author Buer
 * @update 2021/5/2/00219:39
 */
@Component
public class ShowActivities {
    @Autowired
    private ActivityMapper activityMapper;

    /** 获取所有活动 */
    public String getAll() {
        return activityMapper.selectAll();
    }
}
